Contents | < Browse | Browse >
These are the Conversion Specifiers you can use with Misc.
Conversion
Specifier Replaced with . . .
%a the locale's abbreviated weekday name
%A the locale's full weekday name
%b the locale's abbreviated month name
%B the locale's full month name
%c the locale's appropriate date and time representation
%d the day of the month as a decimal number (01-31)
%H the hour (24-hour clock) as a decimal number (00-23)
%I the hour (12-hour clock) as a decimal number (00-12)
%j the day of the year as a decimal number (001-366)
%m the month as a decimal number (01-12)
%M the minute as a decimal number (00-59)
%p the locale's equivalent of the AM and PM designations
associated with a 12-hour clock
%S the second as a decimal number (00-61)
%U the week number of the year (the first Sunday as the
first day of week 1) as a decimal number (00-53)
%w the weekday as a decimal number (0-6),where Sunday is 0
%W the week number of the year (the first Monday as the
first day of week 1) as a decimal number (00-53)
%x the locale's appropriate date representation
%X the locale's appropriate time representation
%y the year without the century as a decimal number
(00-99)
%Y the year with the century as a decimal number
%Z the time zone name or abbreviation; no characters
indicates the time zone is not determinable
%% a percent sign.